# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header $

inherit webapp

DESCRIPTION="ajax for php."
HOMEPAGE="http://jpspan.sf.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND=">=dev-lang/mono-1.0
		gnome-extra/at-spi"

DEPEND="${RDEPEND}
	dev-util/pkgconfig"

DOCS="AUTHORS Changelog COPYING NEWS README"

src_compile(){
	einfo """Nothing to compile""" 
}

src_install(){
	local ${docs}
	
	docs="""README licence TODO"""
	dodoc $docs
	
	webapp_src_preinst
	
	cp -R JPSpan/* ${D}${MY_HTDOCSDIR}
	cp -R examples ${D}${MY_HTDOCSDIR}/
	use doc && cp -R docs  ${D}${MY_HTDOCSDIR}/
	
	webapp_src_install

}

